.mcpCard {
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid var(--border-color-border-weak, #e4e4e7);

  :global(.ant-card-body) {
    padding: 16px;
  }
  .cardHeader {
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    width: 100%;
    .avatar {
      width: 40px;
      height: 40px;
      border: 1px solid #c1c6d6;
      border-radius: 8px;
      padding: 8px;
    }
    .cardTitle {
      display: flex;
      width: 100%;
    }

    .title {
      font-size: 16px;
      font-weight: 600;
      margin-left: 8px;
      line-height: 40px;
      height: 40px;
    }
    .localOrCloud {
      width: 58px;
      min-width: 58px;
      height: 18px;
      font-size: 12px;
      background-color: #f0f0f0;
      color: #898ea3;
      border-radius: 999px;
      padding: 1px 8px;
      display: flex;
      margin: 11px 0 0 8px;
      .localOrCloudText {
        margin-left: 2px;
      }
    }
    .authorized {
      background-color: #d2f2fd;
      color: #448a96;
      font-size: 12px;
      padding: 4px 6px;
      line-height: 18px;
      border-radius: 4px;
    }
  }
  .contentWrapper {
    margin-top: 8px;
    min-height: 42px;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    color: #565966;
  }

  .infoWrapper {
    display: flex;
    align-items: center;
    margin: 8px 0;
    color: #565966;
    transition: all 0.4s ease;
    .dot {
      margin: 0 16px;
    }
    .mcpStatus {
      margin-left: auto;
    }
  }
  .cardOperate {
    border-top: 1px solid #e4e4e7;
    display: flex;
    padding-top: 8px;
    align-items: center;
    justify-content: space-around;
    .splitLine {
      width: 1px;
      height: 16px;
      background-color: #e4e4e7;
      margin: 0 8px;
    }
  }

  .updateSetting {
    color: #4f4dff;
    background-color: #f3f1f1;
  }
  .title,
  .localOrCloud,
  .recommend,
  .providerName {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
.moreOperate {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  border-radius: 8px;
  box-sizing: border-box;

  .operateBtn {
    cursor: pointer;
    width: 100%;
    padding: 0 16px;
    height: 40px;
    line-height: 40px;
    &:nth-child(1) {
      border-top-left-radius: 8px;
      border-top-right-radius: 8px;
    }
    &:nth-last-child(1) {
      border-bottom-left-radius: 8px;
      border-bottom-right-radius: 8px;
    }
    &:hover {
      color: #4f4dff;
      background-color: #f5f8ff;
      box-sizing: border-box;
    }
  }
}
